﻿using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WPS.SDK.model.yunfile
{
    /// <summary>
    /// 剩余空间类
    /// </summary>
    public class RemainingSpace
    {
        public string remaining;
        public long result;

        public static RemainingSpace fromJsonObject(JObject jsonObject)
        {
            RemainingSpace remainingSpace = new RemainingSpace();
            remainingSpace.remaining = jsonObject["remaining"].ToString();
            remainingSpace.result = Convert.ToInt64(jsonObject["result"].ToString());
            return remainingSpace;
        }
    }
}
